<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcoap: coap_endpoint_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">libcoap<span id="projectnumber">&#160;4.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('structcoap__endpoint__t.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle"><div class="title">coap_endpoint_t Struct Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Abstraction of virtual endpoint that can be attached to <a class="el" href="structcoap__context__t.html" title="The CoAP stack&#39;s global state is stored in a coap_context_t object.">coap_context_t</a>.  
 <a href="structcoap__endpoint__t.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="coap__session_8h_source.html">coap_session.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:aa1898beae662b147f0b1d2b36a9c5391" id="r_aa1898beae662b147f0b1d2b36a9c5391"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcoap__endpoint__t.html">coap_endpoint_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__endpoint__t.html#aa1898beae662b147f0b1d2b36a9c5391">next</a></td></tr>
<tr class="separator:aa1898beae662b147f0b1d2b36a9c5391"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4612066bbf36aa7012fd292d8eb4cbe8" id="r_a4612066bbf36aa7012fd292d8eb4cbe8"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcoap__context__t.html">coap_context_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__endpoint__t.html#a4612066bbf36aa7012fd292d8eb4cbe8">context</a></td></tr>
<tr class="memdesc:a4612066bbf36aa7012fd292d8eb4cbe8"><td class="mdescLeft">&#160;</td><td class="mdescRight">endpoint's context  <br /></td></tr>
<tr class="separator:a4612066bbf36aa7012fd292d8eb4cbe8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5a48a373d77ee179f28ebba6e064b55" id="r_ad5a48a373d77ee179f28ebba6e064b55"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__endpoint__t.html#ad5a48a373d77ee179f28ebba6e064b55">proto</a></td></tr>
<tr class="memdesc:ad5a48a373d77ee179f28ebba6e064b55"><td class="mdescLeft">&#160;</td><td class="mdescRight">protocol used on this interface  <br /></td></tr>
<tr class="separator:ad5a48a373d77ee179f28ebba6e064b55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b819bf10b7f0d3d4fd169f2adc86b79" id="r_a5b819bf10b7f0d3d4fd169f2adc86b79"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__endpoint__t.html#a5b819bf10b7f0d3d4fd169f2adc86b79">default_mtu</a></td></tr>
<tr class="memdesc:a5b819bf10b7f0d3d4fd169f2adc86b79"><td class="mdescLeft">&#160;</td><td class="mdescRight">default mtu for this interface  <br /></td></tr>
<tr class="separator:a5b819bf10b7f0d3d4fd169f2adc86b79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0d9d4c7a4ff91f4e5149ea82cc02a38" id="r_ad0d9d4c7a4ff91f4e5149ea82cc02a38"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__socket__t.html">coap_socket_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__endpoint__t.html#ad0d9d4c7a4ff91f4e5149ea82cc02a38">sock</a></td></tr>
<tr class="memdesc:ad0d9d4c7a4ff91f4e5149ea82cc02a38"><td class="mdescLeft">&#160;</td><td class="mdescRight">socket object for the interface, if any  <br /></td></tr>
<tr class="separator:ad0d9d4c7a4ff91f4e5149ea82cc02a38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7ae1b1eaada32ecebf9333945fbe4e0" id="r_ab7ae1b1eaada32ecebf9333945fbe4e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__address__t.html">coap_address_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__endpoint__t.html#ab7ae1b1eaada32ecebf9333945fbe4e0">bind_addr</a></td></tr>
<tr class="memdesc:ab7ae1b1eaada32ecebf9333945fbe4e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">local interface address  <br /></td></tr>
<tr class="separator:ab7ae1b1eaada32ecebf9333945fbe4e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6032778926bccf2e0c4f093eff03bb51" id="r_a6032778926bccf2e0c4f093eff03bb51"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__session__t.html">coap_session_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__endpoint__t.html#a6032778926bccf2e0c4f093eff03bb51">sessions</a></td></tr>
<tr class="memdesc:a6032778926bccf2e0c4f093eff03bb51"><td class="mdescLeft">&#160;</td><td class="mdescRight">list of active sessions  <br /></td></tr>
<tr class="separator:a6032778926bccf2e0c4f093eff03bb51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86f59a037b10a85da5a295f29b4febc5" id="r_a86f59a037b10a85da5a295f29b4febc5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__session__t.html">coap_session_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__endpoint__t.html#a86f59a037b10a85da5a295f29b4febc5">hello</a></td></tr>
<tr class="memdesc:a86f59a037b10a85da5a295f29b4febc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">special session of DTLS hello messages  <br /></td></tr>
<tr class="separator:a86f59a037b10a85da5a295f29b4febc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Abstraction of virtual endpoint that can be attached to <a class="el" href="structcoap__context__t.html" title="The CoAP stack&#39;s global state is stored in a coap_context_t object.">coap_context_t</a>. </p>
<p>The tuple (handle, addr) must uniquely identify this endpoint. </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00301">301</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="ab7ae1b1eaada32ecebf9333945fbe4e0" name="ab7ae1b1eaada32ecebf9333945fbe4e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7ae1b1eaada32ecebf9333945fbe4e0">&#9670;&#160;</a></span>bind_addr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__address__t.html">coap_address_t</a> coap_endpoint_t::bind_addr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>local interface address </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00307">307</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a4612066bbf36aa7012fd292d8eb4cbe8" name="a4612066bbf36aa7012fd292d8eb4cbe8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4612066bbf36aa7012fd292d8eb4cbe8">&#9670;&#160;</a></span>context</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcoap__context__t.html">coap_context_t</a>* coap_endpoint_t::context</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>endpoint's context </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00303">303</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a5b819bf10b7f0d3d4fd169f2adc86b79" name="a5b819bf10b7f0d3d4fd169f2adc86b79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b819bf10b7f0d3d4fd169f2adc86b79">&#9670;&#160;</a></span>default_mtu</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t coap_endpoint_t::default_mtu</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>default mtu for this interface </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00305">305</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a86f59a037b10a85da5a295f29b4febc5" name="a86f59a037b10a85da5a295f29b4febc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86f59a037b10a85da5a295f29b4febc5">&#9670;&#160;</a></span>hello</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__session__t.html">coap_session_t</a> coap_endpoint_t::hello</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>special session of DTLS hello messages </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00309">309</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="aa1898beae662b147f0b1d2b36a9c5391" name="aa1898beae662b147f0b1d2b36a9c5391"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1898beae662b147f0b1d2b36a9c5391">&#9670;&#160;</a></span>next</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcoap__endpoint__t.html">coap_endpoint_t</a>* coap_endpoint_t::next</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00302">302</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="ad5a48a373d77ee179f28ebba6e064b55" name="ad5a48a373d77ee179f28ebba6e064b55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5a48a373d77ee179f28ebba6e064b55">&#9670;&#160;</a></span>proto</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a> coap_endpoint_t::proto</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>protocol used on this interface </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00304">304</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a6032778926bccf2e0c4f093eff03bb51" name="a6032778926bccf2e0c4f093eff03bb51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6032778926bccf2e0c4f093eff03bb51">&#9670;&#160;</a></span>sessions</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__session__t.html">coap_session_t</a>* coap_endpoint_t::sessions</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>list of active sessions </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00308">308</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="ad0d9d4c7a4ff91f4e5149ea82cc02a38" name="ad0d9d4c7a4ff91f4e5149ea82cc02a38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0d9d4c7a4ff91f4e5149ea82cc02a38">&#9670;&#160;</a></span>sock</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__socket__t.html">coap_socket_t</a> coap_endpoint_t::sock</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>socket object for the interface, if any </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00306">306</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="coap__session_8h_source.html">coap_session.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structcoap__endpoint__t.html">coap_endpoint_t</a></li>
    <li class="footer">Generated on Fri Dec 27 2024 09:57:44 for libcoap by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
  </ul>
</div>
</body>
</html>
